<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/platform/include/include.jsp"%>
<html>
<head>
<TITLE><c:out value="${_LOGONUSER_.MANAGETITILE}" />
</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<%@ include file="/jsp/platform/include/header.jsp"%>
</HEAD>
<BODY>
	<DIV class="all">
		<DIV class="mains">
			<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
				<TBODY>
					<TR valign="top">
						<TD>
							<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
								<TBODY>
									<TR>
										<TD>
											<TABLE width="180" border="0" cellspacing="0" cellpadding="0">
												<TBODY>
													<TR>
														<TD width="7"><IMG width="7" height="36" alt=""
															src="<%=request.getContextPath()%>/images/pages_l.jpg">
														</TD>
														<TD align="center"
															background="<%=request.getContextPath()%>/images/pages_bg.jpg">
															<SPAN class="f_tit1">出款对账明细</SPAN>
														</TD>
														<TD width="7"><IMG width="7" height="36" alt=""
															src="<%=request.getContextPath()%>/images/pages_r.jpg">
														</TD>
													</TR>
												</TBODY>
											</TABLE></TD>
									</TR>
								</TBODY>
								<TR>
									<TD>
										<div class="pages_con">
											<div class="talbes">
												<table style="text-align: center" width="100%" border="0"
													cellpadding="8" cellspacing="0">
													<tbody>
													<tr>
													<td colspan="10" style="font-weight: bold;font-size: 14px;">
													结算流水明细
													</td>
													</tr>
														<tr class="talbe_pubs_tr">
															<td>创建时间</td>
															<td>交易流水号</td>
															<td>订单金额</td>
															<td>商户名称</td>
															<td>代理商名称</td>
															<td>终端编号</td>
															<td>收款订单号</td>
															<td>结算订单号</td>
															<td>交易状态</td>
															<td>结算状态</td>
														</tr>
														<c:forEach var="model" items="${ordList}">
															<tr>
																<td><fmt:formatDate value="${model.createDate}"
																		pattern="yyyy-MM-dd HH:mm:ss" />
																</td>
																<td><c:out value="${model.ordId}" />
																</td>
																<td><fmt:formatNumber pattern="#,#00.00"
																		value="${model.paymentAmt}" /></td>
																<td><c:out value="${model.merSysAccount}" />
																</td>
																<td><c:out value="${model.agentSysAccount}" />
																</td>
																<td><c:out value="${model.terminalId}" />
																</td>
																<td><c:out value="${model.paymentId}" />
																</td>
																<td><c:out value="${model.settleOrdId}" />
																</td>
																<td><common:getDicByCode key="2130"
																		value="${model.transStatus}" />
																</td>
																<td><common:getDicByCode key="2020"
																		value="${model.settleStatus}" />
																</td>
															</tr>
														</c:forEach>
													</tbody>
												</table>

												<table style="text-align: center" width="100%" border="0"
													cellpadding="8" cellspacing="0">
													<tbody>
													<tr>
													<td colspan="10" style="font-weight: bold;font-size: 14px;">
													通联流水明细
													</td>
													</tr>
														<tr class="talbe_pubs_tr">
															<td>交易流水号</td>
															<td>结算日期</td>
															<td>订单金额</td>
															<td>结算账号</td>
															<td>结算状态</td>
														</tr>
														<c:forEach var="model" items="${settleList}">
															<tr>
																<td><c:out value="${model.settleReqno}" />
																<td><c:out value="${model.settleDate}" />
																</td>
																<td><fmt:formatNumber pattern="#,#00.00"
																		value="${model.settleAmount}" /></td>
																<td><c:out value="${model.settleAccountno}" />
																</td>
																<td>
																<c:choose>
																	<c:when test="${'0000' == model.settleStatus}">成功</c:when>
																	<c:otherwise>失败</c:otherwise>
																</c:choose></td>
															</tr>
														</c:forEach>
													</tbody>
												</table>
											</div>
										</div>
										</div> <!--当中内容块结束-->
									</TD>
								</TR>
							</TABLE></TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
		<%@ include file="/jsp/platform/include/foot.jsp"%>
</BODY>
</HTML>
